package com.tencent.wxcloudrun.backcontroller;

import io.swagger.annotations.Api;
import org.springframework.web.bind.annotation.*;

/**
 * @author lichongbing
 * @version 1.0.0
 * @createdate 2023/3/10 17:55
 * @description: TODO
 */
@RestController
@Api(tags = "店铺管理")
public class ShopAdmin {
    /**
     * 新增店铺
     */
    @PostMapping("/wxcloud/admin/shop")
    public void addShop(){
        //店铺名称
        //店铺地址
        //店铺电话
        //店铺状态
        //店铺备注
    }
    /**
     * 修改店铺
     */
    @PutMapping("/wxcloud/admin/shop")
    public void updateShop(){
        //店铺名称
        //店铺地址
        //店铺电话
        //店铺状态
        //店铺备注
    }
    /**
     * 删除店铺
     */
    @DeleteMapping("/wxcloud/admin/shop")
    public void deleteShop(){
        //店铺名称
    }
    /**
     * 店铺上下架
     */
    @PutMapping("/wxcloud/admin/shopUpOrDown")
    public void shopUpOrDown(){
        //店铺名称
        //店铺状态
    }
    /**
     * 店铺详情
     */
    @GetMapping("/wxcloud/admin/shopDetail")
    public void shopDetail(){
        //店铺名称
    }
    /**
     * {
     *   "code": 0,
     *   "data": {
     *     "result": [
     *       {
     *         "areaStr": "河东区",
     *         "bindUid": 7386857,
     *         "cityId": "120100000000",
     *         "cityStr": "天津市",
     *         "cyTablePayMod": 1,
     *         "dateAdd": "2023-03-03 11:24:28",
     *         "dateUpdate": "2023-03-03 11:24:28",
     *         "districtId": "120102000000",
     *         "goodsNeedCheck": false,
     *         "id": 61935,
     *         "latitude": 0.000000,
     *         "linkPhone": "111",
     *         "longitude": 0.000000,
     *         "name": "123",
     *         "number": "123",
     *         "numberFav": 0,
     *         "numberGoodReputation": 0,
     *         "numberOrder": 0,
     *         "numberReputation": 0,
     *         "openScan": false,
     *         "openWaimai": true,
     *         "openZiqu": true,
     *         "openingHours": "08:00-23:00",
     *         "paixu": 0,
     *         "provinceId": "120000000000",
     *         "provinceStr": "天津市",
     *         "recommendStatus": 0,
     *         "status": 1,
     *         "statusStr": "正常",
     *         "taxGst": 0.00,
     *         "taxService": 0.00,
     *         "type": "123",
     *         "userId": 9519,
     *         "workStatus": 0
     *       },
     *       {
     *         "address": "杭州市余杭区古墩路1888号",
     *         "areaStr": "余杭区",
     *         "cityId": "330100000000",
     *         "cityStr": "杭州市",
     *         "cyTablePayMod": 1,
     *         "dateAdd": "2023-02-22 15:38:41",
     *         "dateUpdate": "2023-02-21 12:09:10",
     *         "districtId": "330110000000",
     *         "goodsNeedCheck": false,
     *         "id": 61456,
     *         "latitude": 30.359991,
     *         "linkMan": "乾隆",
     *         "linkPhone": "057128180512",
     *         "longitude": 120.057228,
     *         "name": "杭州良渚永旺Mall",
     *         "numberFav": 0,
     *         "numberGoodReputation": 2,
     *         "numberOrder": 1,
     *         "numberReputation": 2,
     *         "openScan": true,
     *         "openWaimai": true,
     *         "openZiqu": true,
     *         "openingHours": "8:30AM ~ 10:30PM",
     *         "paixu": 0,
     *         "pic": "https://cdn.it120.cc/cuser/951/2017/10/31/18ae947f52231f328f4564dffbc7d72f.png",
     *         "provinceId": "330000000000",
     *         "provinceStr": "浙江省",
     *         "recommendStatus": 0,
     *         "status": 1,
     *         "statusStr": "正常",
     *         "taxGst": 0.00,
     *         "taxService": 0.00,
     *         "userId": 9519,
     *         "workStatus": 0
     *       },
     *       {
     *         "address": "杭州拱墅区丰潭路380号5F06-5F07室（近申花路）",
     *         "areaStr": "西湖区",
     *         "cityId": "330100000000",
     *         "cityStr": "杭州市",
     *         "cyTablePayMod": 1,
     *         "dateAdd": "2023-02-22 15:38:41",
     *         "dateUpdate": "2021-04-09 17:16:38",
     *         "districtId": "330106000000",
     *         "goodsNeedCheck": false,
     *         "id": 61455,
     *         "latitude": 30.299660,
     *         "linkMan": "雍正",
     *         "linkPhone": "057128180512",
     *         "longitude": 120.107697,
     *         "name": "杭州城西银泰城MALL",
     *         "numberFav": 0,
     *         "numberGoodReputation": 0,
     *         "numberOrder": 0,
     *         "numberReputation": 0,
     *         "openScan": true,
     *         "openWaimai": true,
     *         "openZiqu": true,
     *         "openingHours": "8:30AM ~ 10:30PM",
     *         "paixu": 0,
     *         "provinceId": "330000000000",
     *         "provinceStr": "浙江省",
     *         "recommendStatus": 0,
     *         "status": 1,
     *         "statusStr": "正常",
     *         "taxGst": 0.00,
     *         "taxService": 0.00,
     *         "userId": 9519,
     *         "workStatus": 0
     *       },
     *       {
     *         "address": "门店详细地址信息",
     *         "areaStr": "西湖区",
     *         "bindUid": 5257930,
     *         "cityId": "330100000000",
     *         "cityStr": "杭州市",
     *         "cyTablePayMod": 1,
     *         "dateAdd": "2023-02-22 15:38:41",
     *         "dateUpdate": "2022-09-26 15:21:18",
     *         "districtId": "330106000000",
     *         "goodsNeedCheck": false,
     *         "id": 61454,
     *         "latitude": 30.236361,
     *         "linkMan": "康熙",
     *         "linkPhone": "135135135135",
     *         "longitude": 120.050880,
     *         "name": "新峰商务大楼",
     *         "numberFav": 0,
     *         "numberGoodReputation": 0,
     *         "numberOrder": 0,
     *         "numberReputation": 0,
     *         "openScan": true,
     *         "openWaimai": true,
     *         "openZiqu": true,
     *         "openingHours": "08:00-23:00",
     *         "paixu": 0,
     *         "provinceId": "330000000000",
     *         "provinceStr": "浙江省",
     *         "recommendStatus": 0,
     *         "status": 1,
     *         "statusStr": "正常",
     *         "taxGst": 0.00,
     *         "taxService": 0.00,
     *         "userId": 9519,
     *         "workStatus": 0
     *       }
     *     ],
     *     "totalPage": 1,
     *     "totalRow": 4
     *   },
     *   "msg": "success"
     * }
     */
}
